package com.accp.biz.impl;

import java.util.List;

import com.accp.biz.BookBiz;
import com.accp.dao.BookDao;
import com.accp.dao.impl.BookDaoImpl;
import com.accp.info.BookInfo;
import com.accp.info.PageInfo;


public class BookBizImpl 
	implements BookBiz{
	
	private BookDao bookDao
			=new BookDaoImpl();

	public List<BookInfo> findBooksByPage(String title, PageInfo pi) {
		return bookDao.findBooksByPage(title, pi);
	}

	public BookInfo findOne(Integer bookid) {		
		return bookDao.findOne(bookid);
	}

}